﻿using AppService.IService.System_dictionary;
using Domain.Entity.System_dictionary;
using Domain.IRepository.System_dictionary;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;

namespace AppService.Service.ChildrenService
{
    [Dependency(ServiceLifetime.Scoped)]
    public class ChildrenSevice : IChildrenService
    {
        private readonly IChildrenRepoitory childrenRepoitory;

        public ChildrenSevice(IChildrenRepoitory childrenRepoitory) 
        {
            this.childrenRepoitory = childrenRepoitory;
        }
        public List<Children> childrens()
        {
            return childrenRepoitory.childrens();
        }
    }
}
